//
//  UIViewController+SEGBaseMethod.h
//  SEGWorkOrderTest
//
//  Created by Clavis on 2019/4/4.
//  Copyright © 2019 Clavis. All rights reserved.
//

// 拆分的一些基类方法
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (SEGBaseMethod)

@property(nonatomic,strong) UIView *tempBgView;//记录控件的bgMainView 这样直接获取不需要调用[vc.view viewWithTag]方法,在UIViewController调用.view方法会初始化，导致控件数据丢失

@property (nonatomic, strong)id tempData;//传任意值

/**
 *  键盘按钮
 *
 *  @return 返回视图
 */
- (UIView *)onKeyBoardFinishedButton;

/**
 点击了键盘的完成按钮【需要子类重写】

 @param sender 按钮
 */
- (void)onKeyBoardFinishedButton:(UIButton *)sender;

@property (nonatomic, assign) BOOL isNeedAdpterHotspot; //是否需要适配开启热点

@end

NS_ASSUME_NONNULL_END
